package com.sq.partner.manager.dao.impl;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

import com.sq.partner.manager.dao.TradCheckcontactsDao;
import com.sq.partner.manager.mybatis.model.TradCheckcontacts;
import com.sq.partner.manager.util.LogUtil;
@Repository
public class TradCheckcontactsDaoImpl extends BaseDaoImpl implements TradCheckcontactsDao {
	private static Logger logger = LogUtil.getLog(TradCheckcontactsDaoImpl.class);

	@Override
	public boolean insertTradCheck(TradCheckcontacts checkcontacts) throws Exception {
		// TODO Auto-generated method stub
		return this.add("insertCheckcontacts", checkcontacts);
	}

	@Override
	public boolean deleteTradCheck(TradCheckcontacts checkcontacts) throws Exception {
		// TODO Auto-generated method stub
		return this.delete("deleteCheckcontacts",checkcontacts);
	}

	@Override
	public boolean updateTradCheck(TradCheckcontacts checkcontacts) throws Exception {
		// TODO Auto-generated method stub
		return this.update("updateCheckcontacts",checkcontacts);
	}
}
